package com.rds.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.rds.common.annotation.Excel;
import com.rds.common.core.domain.BaseEntity;

import java.util.Date;


/**
 * 相关流程 rda_project_workflow
 *
 * @author rds
 * @date 2022-07-04
 */
public class RdaProjectWorkflow extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** wbsId */
    private Long wbsId;

    /** 对象id */
    private Long projectid;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 原因 */
    @Excel(name = "原因")
    private String description;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间")
    private Date createTime;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间")
    private Date modifyTime;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 所有者 */
    @Excel(name = "所有者")
    private Long ownerid;

    /** 类型 */
    @Excel(name = "类型")
    private Long typeid;

    /** 策略 */
    @Excel(name = "策略")
    private Long policyid;

    /** 状态 */
    @Excel(name = "状态")
    private Long stateid;

    /** 是否自动生成编码  状态1不自动生成*/
    private String whetherCode;

    //流程相关对象共享显示
    private String  title;



    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getWbsId() {
        return wbsId;
    }

    public void setWbsId(Long wbsId) {
        this.wbsId = wbsId;
    }

    public Long getProjectid() {
        return projectid;
    }

    public void setProjectid(Long projectid) {
        this.projectid = projectid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Long getOwnerid() {
        return ownerid;
    }

    public void setOwnerid(Long ownerid) {
        this.ownerid = ownerid;
    }

    public Long getTypeid() {
        return typeid;
    }

    public void setTypeid(Long typeid) {
        this.typeid = typeid;
    }

    public Long getPolicyid() {
        return policyid;
    }

    public void setPolicyid(Long policyid) {
        this.policyid = policyid;
    }

    public Long getStateid() {
        return stateid;
    }

    public void setStateid(Long stateid) {
        this.stateid = stateid;
    }

    public String getWhetherCode() {
        return whetherCode;
    }

    public void setWhetherCode(String whetherCode) {
        this.whetherCode = whetherCode;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
}
